package com.demo.service;

import com.demo.entity.Partner;
import com.demo.model.Workers;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SelectService {
    PageInfo<Partner> findAsset(String userId,Integer partnerType, String bizType,
                                String[] cities, int pageIndex, int pageSize);

    PageInfo<Partner> findByPost(String userId,Integer partnerType, String post,
                                 String[] cities, int pageIndex, int pageSize);

    PageInfo<Partner> findByNameTel(Integer partnerType, String create_user_id, int pageIndex,
                                    int pageSize);

    PageInfo<Partner> findByNameTelHide(String userId,String roleId, Integer partnerType, int pageIndex,
                                        int pageSize);

    PageInfo<Partner> findByNameTelHide1(String roleId, Integer partnerType, int pageIndex,
                                         int pageSize);

    PageInfo<Partner> findByBlurry01(Integer partnerType, String value,
                                     int pageIndex, int pageSize);

    PageInfo<Partner> findByBlurry02(Integer partnerType, String value, String createId,
                                     int pageIndex, int pageSize);

    PageInfo<Partner> findExitInfo(String createId,String  userId,String company,Integer partnerType, String orgType, String orgRemark,
                                   String usage,
                                   String typeId, String typeName, String[] cities, Integer abilityMin, Integer abilityMax,
                                   int pageIndex, int pageSize);

    PageInfo<Partner> findExitInfo1(String depId,String createId,String company,Integer partnerType, String orgType, String orgRemark,
                                    String usage,
                                    String typeId, String typeName, String[] cities, Integer abilityMin, Integer abilityMax,
                                    int pageIndex, int pageSize);

    PageInfo<Partner> findPeerInfo(String createId,String  userId,String company,Integer partnerType, String orgType,
                                   String bizListId, String coopListId
            , String[] cities, int pageIndex, int pageSize);

    PageInfo<Partner> findPeerInfo1(String depId,String createId,String company,Integer partnerType, String orgType,
                                    String bizListId, String coopListId
            , String[] cities, int pageIndex, int pageSize);

    PageInfo<Partner> findJusticeInfo(String createId,String  userId,Integer partnerType, String company,
                                      String post, String[] cities,
                                      int pageIndex, int pageSize);

    PageInfo<Partner> findJusticeInfo1(String depId,String createId,Integer partnerType, String company,
                                       String post, String[] cities,
                                       int pageIndex, int pageSize);

    PageInfo<Partner> findOrgInfo(String createId,String  userId,Integer partnerType, String company,
                                  String post, String[] cities,
                                  int pageIndex, int pageSize);

    PageInfo<Partner> findOrgInfo1(String depId,String createId,Integer partnerType, String company,
                                   String post, String[] cities,
                                   int pageIndex, int pageSize);

    PageInfo<Partner> findById(String partner_id, int pageIndex, int pageSize);

    Partner matchNumber(String telephone, String create_user_id);

    Integer countCreateId(String createId);

    List<Workers> workers();

    List<String> depName();

    PageInfo<Partner> personal(int partnerType, String userId, int pageIndex, int pageSize);

    Partner telephoneNumber(String telephone, String create_user_id);

    Partner emailNumber(String email, String create_user_id);

    Partner weixinNumber(String weixin, String create_user_id);
}
